package com.wxq.product.dao;

import com.wxq.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author jim
 * @email 2982877319@qq.com
 * @date 2022-03-13 19:57:58
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    /**
     * 在指定属性集合里面，查找出能够被检索的属性
     * @param attrIds
     * @return
     */
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
